package com.demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.demo.model.Project;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface ProjectDAO {
	int deleteByPrimaryKey(Integer id);

    int insert(Project project);

    int insertSelective(Project project);
    
    List<Project> selectAll();
    
    List<Project> selectLike(@Param("name") String name,@Param("fuzeren") Integer fuzeren);
    
    Project selectById(Integer id);
    
    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);
}